<?php
defined('BASEPATH') OR exit('No direct script access allowed');
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title><?php echo $Title ?></title>
    <?php include_once 'public/views/h_header_css.php'; ?>
    <!-- 新 Bootstrap4 核心 CSS 文件 -->
    <link rel="stylesheet" href="https://cdn.staticfile.net/twitter-bootstrap/4.3.1/css/bootstrap.min.css">

    <!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
    <!-- <script src="https://cdn.staticfile.net/jquery/3.2.1/jquery.min.js"></script> -->

    <!-- bootstrap.bundle.min.js 用于弹窗、提示、下拉菜单，包含了 popper.min.js -->
    <script src="https://cdn.staticfile.net/popper.js/1.15.0/umd/popper.min.js"></script>

    <!-- 最新的 Bootstrap4 核心 JavaScript 文件 -->
    <style>
         @media screen and (max-width: 1200px) {
            html{
                font-size: 12px;
            }
        }
        @media screen and (min-width: 1201px) and (max-width: 1600px) {
            html{
                font-size: 14px;
            }
        }
        @media screen and (min-width: 1601px) {
            html{
                font-size: 16px;
            }
        }
        .detail{
            padding: 1.875rem;
            width: 50rem;
            margin: auto;
        }
        .title{
            font-size: 1.5rem;
            font-weight: 550;
            text-align: center;
            margin-bottom: 1.25rem;
        }

        .createdStr{
            font-size: 0.9375rem;
            text-align: center;
            color: #666;
            margin-bottom: 1.25rem;
        }
        .img{
            display: block;
            width: 31.25rem;
            height: auto;
            margin: 0 auto 1.25rem;
        }
        .content{

            font-size: 1rem;
        }


    </style>
    <script src="public/js/echarts.min.js" ></script>
</head>
<body>

        <div class="detail">
            <div class="title"><?php echo $detail['title'] ?> </div>
          
            <div class="createdStr">发布时间： <?php echo $detail['createdStr'] ?> </div>
            <div class="content"><?php echo $detail['content'] ?> </div>

            <!-- <?php if(isset($detail['image_url']) && $detail['image_url'] != ""): ?>
            <div><img class="img" src="<?php echo $detail['image_url'] ?>" > </div>
            <?php endif; ?> -->

           
        </div>
    

</body>
</html>
